package com.edison.demoservice2.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "demo-service-3")
public interface DemoService3 {
    @GetMapping("/service-3/test/{type}")
    String test(@PathVariable("type") String type);
}
